AddEvent("load", window, function() { 
	var btnBio = document.getElementById("btnBio"), btnExperience = document.getElementById("btnExperience");
	var bio = document.getElementById("bio"),experience=document.getElementById("experience");

	AddEvent("click", btnBio, function() { bio.style.display = 'block';experience.style.display = 'none'; });
	AddEvent("click", btnExperience, function() { bio.style.display = 'none';experience.style.display = 'block'; });

	
    $('#youtube1').mediaelementplayer();

});


function AddEvent(event_name, html_element, event_function) 
{       
   if(html_element.attachEvent) 
   		html_element.attachEvent("on" + event_name, function() {event_function.call(html_element);}); 
   else 
   		html_element.addEventListener(event_name, event_function, false);
} 

